<template>
  <div v-if="title" class="page-header">
    <div class="header-left">
      <a-button>
        <!--              <a-icon type="left" />-->
        返回
      </a-button>
      <div class="page-title">{{title}}</div>
    </div>

    <div class="header-right">
      <slot></slot>
    </div>

  </div>
</template>

<script>
export default {
  name: "pageHeader",
  props: {
    title: {
      type: String
    }
  },
  data(){
    return {

    }
  },
  mounted(){

  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>
</style>
